package com.harry.resource.demo.properties;

import java.util.Map;

import com.harry.basis.PropertySettings;
import com.harry.resource.demo.entity.DemoEntity;

public class Ps4DemoEntity extends PropertySettings<DemoEntity> {

	@Override
	public String[] nameProperties() {
		return new String[] { "commonColumn" };
	}

	@Override
	public String[] keyProperties() {
		return new String[] { "commonColumn", "manyToOne.commonColumn" };
	}

	@Override
	public String[] listProperties() {
		return new String[] { "commonColumn", "oneToOne.commonColumn", "manyToOne.commonColumn", "oneToMany.commonColumn",
				"manyToMany.commonColumn" };
	}

	@Override
	public String[] editProperties() {
		return new String[] { "commonColumn", "oneToOne", "manyToOne", "oneToMany", "manyToMany" };
	}

	@Override
	public String[] addProperties() {
		return new String[] { "commonColumn", "oneToOne", "manyToOne", "oneToMany", "manyToMany" };
	}

	@Override
	public String[] criteriaProperties() {
		return new String[] { "oneToOne.oneToOne.oneToOne.oneToOne.commonColumn" };
	}

	@Override
	public String[] listLabels() {
		return null;
	}

	@Override
	public Integer[] listIndexes() {
		return null;
	}

	@Override
	public String[] editLabels() {
		return null;
	}

	@Override
	public Integer[] editIndexes() {
		return null;
	}

	@Override
	public String[] addLabels() {
		return null;
	}

	@Override
	public Integer[] addIndexes() {
		return null;
	}

	@Override
	public String[] criteriaLabels() {
		return null;
	}

	@Override
	public Integer[] criteriaIndexes() {
		return null;
	}

	@Override
	public String[] publicActions() {
		return super.publicActions();
	}

	@Override
	public void permSettings(Map<String, Map<String, Object>> perm_map) {
		super.permSettings(perm_map);
	}

	@Override
	public void adminSettings(Map<String, Map<String, Object>> admin_map) {
		super.adminSettings(admin_map);
	}

}
